package studio.raptor.hub.common.config;

/**
 * http
 * 
 * @author liuyong@asiainfo.com 2017年5月11日 下午4:11:26
 */
public class AdapterHttpConfig extends AdapterConfig {
    private String url;

    private String xpath;

    private String method;

    private String protocol;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getXpath() {
        return xpath;
    }

    public void setXpath(String xpath) {
        this.xpath = xpath;
    }

    @Override
    public String toString() {
        return "AdapterHttpConfig [name=" + getName() + ", code=" + getCode() + ", className="
                + getClassName() + ", type=" + getType() + ", level=" + getLevel() + ", url=" + url
                + ", xpath=" + xpath + ", method=" + method + ", protocol=" + protocol + "]";
    }

}
